import {ENUM_POLICY_SUBJECT} from "./policy.enum.constant";
import {IPermissionList} from "../interfaces/policy.interface";

export const POLICY_RULE_META_KEY = 'PolicyRuleMetaKey';

export const permissionDescription: IPermissionList = {
    [ENUM_POLICY_SUBJECT.ROLE]: 'role',
    [ENUM_POLICY_SUBJECT.USER]: 'user',
    [ENUM_POLICY_SUBJECT.SETTING]: 'setting',
    [ENUM_POLICY_SUBJECT.API_KEY]: 'api-key',
    [ENUM_POLICY_SUBJECT.TEST]: 'test',
}